05/06/2010
Document revision: 13.5
SDK Build: 58
Features implemented:
1. BR-AVS8L3-11 - Retrieving list of detectable objects.
2. BR-AVS8L3-11 -  Allow the user to place the objects to the backup storage
3. BR-AVS8L3-23 - Skipping files signed by MSFT.
4. BR-AVS8L3-14 - Allow the user to skip deleting non-curable compound object such as an archive or a mail message.
5. BR-AVS8L3-25 - Allow the user to run Advanced Disinfection mechanism when curing files  detected as containing malicious objects during the on-demand scan while the malware is active.
5.1 Allow the user to invoke kaveAddTrustedProcess in order to exclude the designated process from being processed with Advanced Disonfection mechanism.
5.2 Using QSCAN and klif.sys together with kl1.sys drivers as a means of Advanced Disinfection.
5.3 Allow a user to call the kaveScanCriticalArea function with the STARTUP_QSCAN option passed to it.
6. BR-AVS8L3-30 - Added description of rollback mechanism allowing the user to rollback malware activity detected with Proactive Defense Monitor.

Revision: 27/08/2010
Changes: Copyright info updated.
-----------------------------------------------------------------------------

Revision: 09/14/2010

Changes: The "INFORMATION ABOUT THIRD-PARTY CODE" section has been reorganized. Legal information is now provided in a separate important_legal_notice.txt document. This document can be found shipped with the Kaspersky Anti-Virus SDK under the .\doc folder.
-----------------------------------------------------------------------------

Revision: 10/01/2010

Changes:
* The "DRIVERS" section has been enhanced to include the information about installing and using the newly added KLBG and KL2 drivers.
* The flag KAV_O_M_SKIPSIGNED name allowing to skip scanning the files, which are digitally signed by Microsoft has been changed according to header file.
* The kaveInitialize function section has been updated with the information about using the newly added KLBG driver.
* The description of the KAV_SHT_ENGINE_KLAV and KAV_SHT_ENGINE_KLAVEMU flags has been changed to avoid confusion when using both flags simultaneously.
* The kaveInitializeEx function section has been updated with the information about using the newly added KLBG driver.
* The kaveReloadDatabases function section has been updated with the information about using the newly added KLBG driver.
* The EVENT_REBOOTNEEDED event's description has been updated with the information about receiving notifications when using the newly added KLBG driver.
* The KAV_FILE_MONITOR_SETTINGS structure's section has been added with information about availability of the more sophisticated KAV_FILE_MONITOR_SETTINGS2 structure.
* The KAV_WEB_MONITOR_SETTINGS structure's section has been added with information about availability of the more sophisticated KAV_WEB_MONITOR_SETTINGS2 structure.
* Numerous minor fixes.

-----------------------------------------------------------------------------

Revision: 12/24/2010

Changes:
* The "GETTING STARTED IN WINDOWS" section has been updated to inform you about reducing memory consumption by disabling the UniArc plugin, used by KAV Engine, when working on a Windows platform.

* The "GETTING STARTED IN LINUX AND FREEBSD" section has been updated to inform you about reducing memeory consumption by disabling the UniArc plugin, used by KAV Engine, when working on a Unix-based platform.

* The "VERIFYING DIGITAL SIGNATURES OF KAV SDK EXECUTABLE FILES" section has been added to instruct you about checking the integrity of executable files shipped with KAV SDK distribution and verifying their signatures.

* The "UPDATING THE KLBG DRIVER" has been added to notify you about the newly-added EVENT_REBOOTNEEDED event and the KRT_UPDATE value of the callback functions that serve to inform your application that the received anti-virus database contains the new version of the KLBG bootguard drivers.

* The "ENABLING DRIVERLESS MODE" section has been added to instruct you about enabling the KAV SDK to work on a Windows platform without using drivers. This mode may be helpful when you need to run several Kaspersky Lab solutions side-by-side.

* The "DISABLING THE UNIARC PLUGIN" section has been added to provide the information about how you can decrease memory consumption of the KAV SDK instance by disabling the  KAV Engine's unpacking management plugin --- the UniArc library.

* Information about the newly-added KAV_O_M_BLOCK_RISKWARE flag has been added to the 
"SCANNING MODES" section. The KAV_O_M_BLOCK_RISKWARE flag allows you to restrict the KAV SDK from blocking files that contain objects detected by the KAV Engine as potentially dangerous (objects that have the KDT_RISKWARE type).

* The "CLEANING MODES" section has been updated to instruct you about how you can force the KAV SDK to NOT delete the files that have been detected as potentially dangerous when the KAV SDK is working in the KAV_DELETE (delete if infected) or the KAV_CLEAN_DELETE (try to disinfect first and delete if disinfection is impossible).

* The "QSCAN AND ARK DATABASES" section has been added describing changes to working with additional databases included in the anti-virus database. The section informs you about the KLBG.sys driver that allows you to peform the clean-up of active malware on a next reboot if disinfection within the current session is prohibited by malware. 

* The "TURNING ON QSCAN CLEANUP" section informs you about the registry files that allow you to ENABLE extended disinfection using QSCAN databases that help to eliminate rootkits and malware registered in system startup areas: registry (RUN keys), boot sectors.

* The "KAVESCANCRITICALAREA" section has been updated to inform you that the STARTUP_OBJECT paramter of the CRITICAL_AREA_TYPE enumeration has been removed. Please consider using the STARTUP_QSCAN constant to enable the QSCAN databases that provide for more powerful tecnhiques of scanning critical areas.

* The "KAVEINITIALIZE" section has been updated to include the information about the KAV_SHT_NO_IDLE_SWAP host type flag that forces the KAV SDK to NOT unload the KAV Engine into paging EVEN if the Engine is idle.

* The "PROACTIVE DEFENSE EVENTS" section has been updated to include additional information about the events registered by the Proactive Defense Monitor component.

* The "KAV_FILE_MONITOR_SETTINGS" section has been updated to inform you about the KAV_O_M_BLOCK_RISKWARE flag that can be used to force the KAV SDK NOT to block access to potentially dangerous files.

-----------------------------------------------------------------------------
Revision: 12/28/2010

Changes:
* The "ABOUT FILE MONITOR" section has been revised for threat classification. The term not-a-virus classifying Adware, Pornware, and Riskware subclasses of software has been replaced with Riskware to specifically identify the class of software that is not blocked from starting by the File Monitor component.

Revision: 01/19/2011

Changes:
* Multiple fixes applied. 

Revision: 01/26/2011

Changes:
* A typo fixed. 

Revision: 11/03/2011

Changes:
* Fixed the name of the File interceptor interaction's library that should be removed to enable driverless mode.
* Removed unnecessary duplicate description of the KAV_O_M_SYSMEM_OWNPROCESS_ONLY flag.

Revision: 14/03/2011

Changes:
* The "DRIVERS" section has been added with additional information regarding disinfection of computers infected by sophisticated malware and types of rootkits, such as Sinowal bootkit.

Revision: 07/07/2011

Changes:
* Information about !reg32.bat and !reg64.bat command files enabling you to register monitoring functionality within the Windows registry has been updated. Please ensure you use these files to enable advanced anti-virus functionality.

* The Getting started in Windows section has been updated to include information about enabling support for advanced technologies.

* The Drivers section outlining use of Kaspersky drivers enabling for advanced functionality on Windows platform has been updated.

* Special information has been added to make using the product in driverless mode more convenient.

* The Sychronous and asynchronous section has been updated to include more detail about running scanning functions synchronously or asynchronously with the calling thread. Additional code snippets addded to demonstrate starting of scanning functions in each of the scanning modes.

* A Using klbscan utility section has been added that explains usage of a special Linux console tool for scanning of files.

* The About File Monitor section now provides more information about event types supported by the File Monitor.

* Updated information about support for scanning modes and usage of bit flags.

* Information about using the kaveScanByteStream function has been updated.

* Information about using the kaveScanCriticalArea function has been updated, special note added for using the SYSTEM_MEMORY type of critial area.

* Description of parameters supported by the kaveQBRescanObject has been fixed.

* Minor improvements for description of using the kavehost.exe Windows service have been added.

* The section describing configuring of Kavehost service configuration file has been significantly enhanced to provide more information about using UNIX sockets when working locally or using sockets when working with a remote instance of the kavehost process. Detailed description added for each of the supported XML elements.

* The kaveGetVirusList section has been updated to provide information about instances of the KAV Engine used when invoking this function.

* Description of kaveEnableInprogressEvents and kaveIsEnabledInprogressEvents functions has been updated.

* The Callback event types section describing notifications returned at the run time has been updated to provide more details for some of the event types.

* The callback function prototype section outlining usage of a custom callback function has been improved.

* The Callback function return values section outlining what codes you can return from your application to the callback function as a reply for the received event type has been updated.

* The Proactive Defense Rollback Mode section has been updated to provide more detail about expected return codes for a specific Proactive Defense Monitor action.

* Additional information has been added for the KAV_QB_OBJECT_INFO structure.

* Various fixes added.

Revision: 07/18/2011

Changes:
* Descriptions for KDT_UNKNOWN and KDT_UNKNOWN_M detection types have been updated to reflect changes in recent edition.
* Slight improvements to the asynchronous mode.
* Minor fixes for table formatting.

Revision: 08/01/2011
Changes:

* Description of the parameter dwTimeout in structures KAV_WEB_MONITOR_SETTINGS2 and KAV_WEB_MONITOR_SETTINGS3  for Web Monitor changed to:  Traffic buffering time. This parameter is specified in seconds. If the timeout set to "0", this mechanism does not use for objects, scanned by Web Monitor. It also negatively affects the detection level. Recommended value is "1" second.
* Description of structure KAV_WEB_MONITOR_SETTINGS3 added.
* Various fixes added.

Revision 08/15/2011
Changes:

* Web Monitor scenario diagramms were added
* Description of KAV_FILE_MONITOR_SETTINGS2 was fixed
* Information about bases compatibility in Win32 and Win 64 OS's was added
* Backup folder storage location was fixed 

Revision 08/23/2011
* Bugs about Web monitor were fixed
* Bugs about driverless mode were fixed
* Diagramms of URL checking in sync and acync mode were added.

Revision 09/27/2011
Changes:

* Paragraph about KDB databases in Web Monitor topic was removed.
* Paragraph about KAV_WEB_MONITOR_SETTINGS1,2,3 deferences was removed.
* Hyperlnk errors were fixed.

Revision 10/06/2011

Changes:

* Description for the kaveScanStream function has been updated. Important notice about concurrent scanning has been addeed.
* Added information about using the EVENT_RELOAD_DATABASES_STARTED event when calling the kuDoDownload function within the helper Updater SDK.
* Minor improvements thoughout the document were made.

Revision 10/25/2011

Changes:

* Fixes for KRT_UPDARTE value that is returned with the EVENT_REBOOTNEEDED. The value is no longer used. THe EVENT_REBOOTNEEDED event is no longer returned after successful install or update of the klbg driver. The procedure is now silent.
* Removed incorrect references to Web Monitor, which is targeted at Windows platform, in section describing UNIX-based klbscan tool, a scanning tool for UNIX-like platforms.

Revision 10/26/2011

Changes:

* Information about new logging was added.

Revision 10/28/2011

Changes:

* The new "Typical usage scenarios" section has been added to outline your experience with the UDInstaller tool when installing, upgrading, or removing KAV SDK Windows drivers. The section provides instructions on how you can control Kaspersky drivers from the command line.

Revision 11/30/2011

Changes:

* Additional information has been added to the "DRIVERS" section to inform you that restarting the operating system is only necessary when updating an old driver and is not needed when installing Kaspersky drivers for the first time.

* Added a note to the table with parameters of the kaveAddTrustedProcess function (see 'kaveAddTrustedProcess' section) to inform you that you must not use quotes when specifying path to the image that you want be marked as trusted.

* The new 'Customizing service startup' subsection has been added to the 'ORGANIZING SERVICE MODE IN LINUX'. The new section speaks of command line switch you can use to start the kavehost service in 'nodaemon' mode when the scanning service continues to run in the foreground mode without detaching from the console. 

Revision 12/01/2011

Changes:

* Description of returned values has been enhanced for the kaveCheckURL function, which allows you to check web addresses agains the Web Malicious URL Filter database, see kaveCheckURL section. Scanning result codes, returned to your callback with successful function invocation, have been added.

Revision 12/05/2011

Changes:

* Added details on using kaveCheckURL function when working with URLs in Internationalized Domain Names in Applications (IDNA) format, see kaveCheckURL section.

Revision 12/21/2011

Changes:

* Enhanced warning box in the description of the kaveScanCritical area function to provide information about additional checks, which are intialization and licensing verifications, made by SDK prior to validating function parameters, see 'Return values' subsection in the 'kaveScanCriticalArea' section.

* Attention that EVENT_OBJECT_BEGIN event is not returned by KAV Engine is now made common for all types of critical area, see 'Critical area types' subsection in the 'kaveScanCriticalArea' section.

* Fixed measuring unit for <ms> log record value, see 'Format of the log records in the informational logging level' section.

* Updated description of the MaxScannersCount element of the kavehost.xml configuration file used by kavehost service on Unix platform. The value defined in the element should be no less than the total number of spawned processes which is calculated as a product of a number of client processes and number of scanning threads started by these processes, see table 'Kavehost service connection settings' in the 'Kavehost service configuration file' section.

Revision 12/27/2011

Changes:

* The KAV SDK now supports cross-platform fast loading of anti-virus database, thanks to KAV_SHT_AVBASES_SWAP flag which is now supported on Windows platform, see 'Anti-virus database loading options' table in the 'Scanner host types and options' subsection within the "KaveInitialize' section describing KAV Engine's initialization function.

* Slightly reworked description of the 'KAV_E_DELETE_ON_REBOOT_FAILED' error code, returned by KAV Engine when deletion of an infected file is not possible in the current session, see 'Custom return codes' table in the 'Return values' section.

* Removed unnecessary cross-reference to Web Monitor structure in the description of the klbscan Unix tool, see 'Utility Parameters Description' subsection in the 'Using klbscan utility' section.

Revision 02/10/2012

Changes:

* Enhanced description of the Append option used in the kave.ini logging configuration file, see "Configuraiton file description".
* Changed description of the LogsFolder option used in the kave.ini logging configuration file; you can also leave the option blank to output tracing data to the program folder, see "Configuraiton file description".


Revision 02/17/2012

Changes:

* The kaveScanForRootkitsInFolder has been deprecated. Special warning note has been added to the description of this function, see "kaveScanForRootkitsInFolder".
* A minor lingustic fix for section describing synchronous and asynchronous scanning, see "Synchronous and asynchronous scanning".


Revision 02/24/2012

Changes:

* A special note added to the description of supported logging levels to inform the reader about priority codes used to mark diagnostic messages output by Kaspersky SDK when syslog is enabled, see "Logging levels".

Revision 02/27/2012

Changes:

* Additional information has been added to provide you with instructions on using debug tracing under *NIX environment when traces are output to syslog, see "Logging levels".

Revision 03/28/2012

Changes:

* Minor fix to the name for the server application that handles scanning request from the klbscan client command line tool, see "Using klbscan utility".
* The kaveScanCriticalArea function's prototype has been missing the dwCleaningMode input parameter, see "kaveScanCriticalArea".
* Description of the kaveAddTrustedProcess function has been enhanced to notify you about the ability to use this function under WoW64 subsystem under a 64-bit Windows operating system, see "kaveAddTrustedProcess".
* Guidelines have been added to facilitate your integration of Proactive Defense Monitor technology in your product, see "Proactive Defense implementation guidelines" subsection within the "Proactive defense events" section.
* Description of the dwScanningMode member parameter for the KAV_WEB_MONITOR_SETTINGS3 structure defining Web Monitor settings has been enhanced. Flags allowing you to specify the heuristic analysis level have been added, see "KAV_WEB_MONITOR_SETTINGS3".


Revision 03/30/2012

Changes:

* Fixed description of the pTemplateFolder parameter of the KAV_WEB_MONITOR_SETTINGS2 and KAV_WEB_MONITOR_SETTINGS3 structures. The parameter specifies an absolute path to the folder storing templates for web pages returned to the user when an attempt to download a file or open a page is blocked by Web Monitor, see sections "KAV_WEB_MONITOR_SETTINGS2" and "KAV_WEB_MONITOR_SETTINGS3".


Revision 04/11/2012

Changes:

* Fixed timing of dwTimeout member of the KAV_FILE_MONITOR_SETTINGS2 structure. The dwTimeout parameter is measured in milliseconds, see section "KAV_FILE_MONITOR_SETTINGS2".

Revision 04/13/2012

Changes:

* The PDM integration guidelines have been modified, see "Proactive Defense implementation guidelines".

Revision 04/16/2012

Changes:

* Added specific information about the target platform for klbscan console scanning tool for Unix-like platforms, see section "Using klbscan utility".

Revision 04/28/2012

Changes:

* Description of the parameter specifying a path to KAV SDK components has been changed. The path variable should point to a folder wtih SDK modules to load, see section "kaveLoad".

Revision 09/21/2012

Changes:

* System requirements changed slightly, see section "SYSTEM REQUIREMENTS".
* A new UPGRADING FROM PREVIOUS VERSIONS section has been added to help you facilitate upgrade procedure on Windows and Linux platforms.
* The Using klbscan tool section has been revised.
* Licensing, definiton update sections, and section describing klbscan tool configuration have all been revised.
* Section that describes error codes returned by klbscan tool has been silghtly updated.
* Special note has been added to the description of KAV_O_M_BLOCK_RISKWARE flag, see Scanning mode options table in "Scanning modes" section.
* Slight fixes to incorrectly used names of functions have been made.
* Section describing usage of service initialization script has been added with an example of how you could export system-wide environment variables.
* Special note has been added to the description of the KAV_E_OUT_OF_SPACE return string error code, see "Custom return codes" table in the "Return values" section.
* Additional information about error codes returned by kavehost service has been added to the "Return values" section to help you deal with error output produced by the kavehost service to the standard output.
* Slight changes to typos in flag names and function names here and there.
* Special note has been added to the warning box in the description of the kaveEnableInprogressEvents function regarding the return of EVENT_OBJECT_BEGIN event.
* Additional information has been added to the description of the EVENT_DELETE_ARCHIVE event regarding your work with this event on UNIX platform, see table "Callback event types" within the Callback event types section.
* Slight fixes to the description of dwParam1 parameter of the callback function prototype, see "Callback function prototype" section.

Revision 11/01/2012

Changes:

* Fixed incorrect version number for the libsdk8l3.so library that contains information about version of SONAME library, see subsection "Upgrading on Linux plarform" within "Upgrading from previous versions" section.
* Changed the default location for temporary backup files used by KaveQBSetStoragePath function. The temporary storage is now by default located within the temporary location specified by %TEMP% environemental variable, see "KaveQBSetStoragePath" section.

Revision 11/02/2012

Changes:

* The "Drivers" section has been updated to include information about recent changes to new driver stack delivered with version 8.3.x.x of the KAV SDK. The section speaks of the new kneps driver implementing business functionality, provides information about connection interception on Windows 8 and its new WFP interace as well as klwfp interception driver that has been developed to support this interaface. This section gives an overview of revamped driver stack and provides driver installation guidelines along with platform requirements specific to KAV SDK drivers, and gives you information about optimizing usage of drivers depending on your needs providing you with component driver dependency list.
* Section discussing notification events supported by Proactive Defense Monitor component has been updated and now includes information about changes to notification events; the section also provides you with implementation guidelines aimed at facilitating your implementation of redesigned Proactive Defense Monitor component in your solution, see "Proactive Defense Events" section.

Revision 11/06/2012

Changes:

* Added EVENT_EMAIL_BLOCKED event for Mail Monitor, see "Callback event types".
* Added EVENT_PDM_SURE, EVENT_PDM_HEURISTIC, and EVENT_PDM_BLOCKING new Proactive Defense Monitor events, see "Callback event types".
* Description of callback function prototype parameters has been enhanced to include information about the new PDM events.
* Added new worklow diagram for Mail Monitor, see "Detection of infected objects by Mail Monitor".
* Section describing what callback results are expected by KAV Engine as a response to raised events has been expanded to include information about new PDM events.
* Recommendations on handling Proactive Defense Monitor Events have been changed to include information about severity type reported by PDM to your application for you to react correspondingly with a specific notitication in automatic and interactive modes, see "Handling practive defense events" subjection in "Proactive Defense events".

Revision 11/08/2012

Changes:

* The Mail Monitor, Web Monitor, and kaveCheckUrl function now require using volume Component Storage Database (CSD), see "About Mail Monitor", "About Web Monitor", and "kaveCheckUrl".
* File Monitor now uses two-pass scanning mode to offloade your system and boost overall scanning performance especially when there are many infected files, see "File Monitor operating modes".
* The kaveClearPredetect function to clear driver cache of EVENT_PREDETECT events is no longer supported, see "kaveClearPredetectCache".
* The EVENT_PDM_HIDDEN_OBJ, EVENT_PDM_DRIVER_INSTALLATION, EVENT_PDM_TROJAN, EVENT_PDM_P2P_WORM, EVENT_PDM_NETWORK_WORM, EVENT_PDM_NEGATIVE_PID, EVENT_PDM_INVADER, and EVENT_PDM_INVADER_LOADER are no longer supported, see "Proactive Defense events".

Revision 11/19/2012

Changes:

* Incorrect signature name has been fixed in a structure prototype within section "KAV_FILE_MONITOR_SETTINGS2".
* Special note has been added to the warning box in the description of the kaveIsEnabledInprogressEvents functions and description of EVENT_OBJECT_BEGIN notification event  message regarding the return of EVENT_OBJECT_BEGIN event. See sections "kaveIsEnabledInprogressEvents" and "Callback event types", correspondingly.

Revision 11/30/2012

Changes:

* Logging chapter has been enhanced and now includes information about NPTL threading library used to synchronize data when producing logging output, see "Basics" subsection under "Logging" section.

Revision 12/11/2012

Changes:
* More information added to the description of usage of kaveReloadDatabases on Linux plaform when KAV Engine hosting process is working in service mode regarding usage of user-defined signals, see "Organizing service mode in Linux".
* Small updates to kaveEnableAutoreload function regarding its usage on Linux platform, see "Organizing service mode in Linux".
* Description of kaveEnableAutoReload function has been enhanced to provide for more details on user-defined signals and overriding their usage in KAV SDK, see "kaveEnableAutoReload".
* Added description of new kaveSetAutoReload function that allows you to specify what user-defined POSIX signal should be handled by KAV SDK to KAV Engine with the new reload malware definition database.

Revision 12/13/2012

Changes:
* Added information about Kaspersky Early Launch Anti-Malware driver that allows you to eliminate malware on the early boot stage by starting yet be ore boot drivers, see "Drivers".

Revision 12/14/2012

Changes:
* Refreshed information about the usage of mail.reg registry settings file to provide more detail about why you must import settings, what happens when you don't, and what functions run without limitations even when you choose to not import settings from this registry file, see "Getting Started in Windows".

Revision 12/18/2012

Changes:
* Some more detail added regarding Kaspersky Early Launch Anti-Malware driver and its installation, see "Drivers".

Revision 12/21/2012

Changes:
* Added description of the KAV_O_M_HEURISTIC_LEVEL_MAXIMUM that is supported on Linux and turns on extremely thorough heuristic analysis, see the "Scanning modes" table in the "Scanning modes" section.

* You can eliminate malware, cleanup its remnants, and revert changes peformed by malware by returning the CLBK_DELETE_OBJECT in a response to the PDM_ACTION_DETECT value retrieved in the callback function from Proactive Defense Monitor, see "Expected return values for PDM events" table in the "Expected callback function return values" section.

* Description of function prototype for the kaveRegisterPassword function to be used on Linux platform has been added showing how you can pass a password for the scanned password-proteced archive from your application to the KAV Engine on a Linux platform, see "kaveRegisterPassword".

Revision 01/18/2013

Changes:
* Description of callback handler parameters for values of dwEvent parameters retrieved from Proactive Defense Monitor module (EVENT_PDM_HEURISTIC, EVENT_PDM_SURE, and EVENT_PDM_BLOCKING) have been updated, see "Callback function parameters" table within the "Callback function prototype" section for detail.
* Recommendations for implementing automatic and interactive scanning modes when using Proactive Defense Monitor in your application have been updated, see "Handling Proactive Defense Events" subsection within the "Proactive Defense events" section.

Revision 02/06/2013

Changes:
* Updated information about interaction between your application and the KAV scanning server process on Linux platform; added information about kavescanner scanning ELF executable and temporary files created at the scanning runtime, see "Interaction between application and SDK in Linux".

Revision 03/01/2013

Changes:
* Added information about additional security restrictions applied during Advanced Disinfection procedure on Windows 8 platform that prevent from unwanted system restart or shutdown. You can now manage system restarts and shutdown from your application by employing the CLBK_REBOOT return value, see "Restricted Restart and Shutdown on Windows 8" and "Callback function return values".

Revision 03/31/2013

Changes:
* Several new scanning functions have been added to facilitate scanning of encrypted files and scripts using the information obtained from the HTTP protocol.

Revision 05/25/2013

Changes:
* Added information on handling paths when scanning files in service integration mode on Unix-like platforms; full paths to files should be passed from partner application to the scanner, see "kaveScanFile" and "Kavehost service configuration file."

Revision 06/23/2013

Changes:
* Specified how you could configure system environment variables to indicate location of plugin modules used by KAV Engine when using klbscan command-line scanning tool, see "Using klbscan tool".
* Added error codes specific to handling scanning of files with klbscan tool, see "Error codes" subsection under "Using klbsvan tool" section.
* Fixed the name of kav.ini configuration file option that configures logging to syslog daemon on UNIX-like platforms; the proper name is syslog, see "Configuration file description".
* Added information about configuring your syslog daemon for usage with KAV SDK on UNIX-like platforms, see "Configuration file description".

Revision 07/19/2013

Changes:
* Added information about interaction with Proactive Defense Monitor in Advanced Disinfection mode when Advanced Disinfection is started as a result of scanning status returned by Proactive Defense Monitor, see "Interaction with Proactive Defense Monitor".

Revision 08/21/2013

Changes:
* Added more details about the kneps.sys driver, a component implementing business logic for decision making when handling connection-oriented tasks, see "Drivers".
* Description of scanning options KAV_O_M_MAILPLAIN and KAV_O_M_MAILBASES has been enhanced to give you more detail on what mail database formats and format files are suppoted by enabling these options, see "Scanning modes" section.
* Explained why you may receive errors when starting Mail Monitor and Web Monitor components in different processes and what needs to be done to avoid them, see "kaveLoadMonitor".

Revision 08/23/2013

Changes:
* Information about KAV libraries updated for Linux platform, see "Overview". Functionality is now implemented in multiple libraries used separately depending on integration mode.
* New instructions have been added to the section explaining upgrade on Linux platform, see "Upgrading on Linux platform" subsection under "Upgrading from previous versions" section.
* Some more information has been added to the section covering kaveLoadMonitor function that allows you to load monitoring components. It is now explained how you use the function on different flavors of Windows platforms and why you cannot use the function on Linux platforms, see "kaveLoadMonitor".

Revision 08/29/2013

Changes:
* Description of interaction of Proactive Defense Monitor in Advanced Disinfection mode has been enhanced, see "Interaction with Proactive Defense Monitor" under "Advanced Disinfection".

Revision 09/11/2013

Changes:
* Description of the sample configuration file for logging subystem has been updated to show you how you could store tracing information, see "Configuration file description" under "Logging".

* When using Proactive Defense monitoring component on Windows platform, make sure to use the KAV_PDM_MONITOR_SETTINGS3 structure to specify settings for the component and gain access to the full spectrum of proactive monitoring features, see "KAV_PDM_MONITOR_SETTINGS3".

Revision 12/17/2013

Changes:
* Added a warning message that partner must ensure the .\ppl\ folder is open for writing before starting to use KAV SDK.
* Added information about what drivers are supported by Windows 8.1 and Windows Server 2012 opearting systems and what setup sequence must be followed to ensure successful installation of KAV SDK drivers on these platforms, see "Drivers."
* Information about support for scanning of chunks of data has been removed from the section describing scannign functions, see "Scanning functions."
* Section describing Mail Monitor has been enhanced to provide you with information on handling email messages, see "About Mail Monitor."
* When you scan a mail message using POP3_MONITOR, you may get error messages in a return. Information about these messages and their description has been added to help you figure out how you could handle such messages, see "About Mail Monitor."
* Description of the KAV_O_M_ICHECKER flag has been changed. The flag turns on iChecker scanning mechanism that helps to boost scanning performance for several file types, see description of the flag in "Scanning modes."
* Added some more detail on Advanced Disinfection mode, see "Advanced Disfinfection mode."
* Enhanced description of special cleanup procedure that is taken by QSCAN component during Advanced Disinfection scanning procedure or as part of antirootkit protection, see "Turning on QSCAN Cleanup."
* More details added for the description of the dwScanningMode parameter of the kaveScanMemory function, see "kaveScanMemory."
* Added more details on enumeration of startup objects peformed by QSCAN component, see "kaveScanCriticalArea."
* Description of the kaveAddTrustedProcess function has been updated to instruct you on using command batch files that enable monitoring components and driver settings for KAV SDK, what is neccessary for the kaveAddTrustedProcess function to work properly, see "kaveAddTrustedProcess."
* Description of the kaveQBGetStoragePath and kaveGetTempFolder functions has been updated to inform you about how you could process buffer contents and how you handle character data and null-terminated strings, see "kaveQBGetStoragePath" and "kaveGetTempFolder" for details.
* Improved description of the KAV_E_DELETE_ON_REBOOT_FAILED error code to get you going with handling of this type of error messages. This error message is typically returned as a result of Advanced Disifection procedure started as part of elimination of complex malware such as rootkits, see "Return values."
* Added more detail to the description of the dwParam1 parameter of callback handler which is based on provided callback function prototype. This is to instruct you how to handle KAV_E_DELETE_ON_REBOOT_FAILED error message, see "Callback function prototype."

Revision 12/18/2013

Changes:
* Added more detail on package contents.
* Figure and table captions fixed.

Revision 12/26/2013

Changes:
* Capabilities extended a tad, see "Capabilities."
* Added special not to managing security settings for ./ppl directory when working on Linux platform, see "Package Contents for Linux x86 and x64."
* Description of managing QSCAN quick scan cleanup functionality has been changed, see "Turning on QSCAN Cleanup."
* Added changes to description of the kaveAddTrustedProcess function, see "kaveAddTrustedProcess."
* Description of the EVENT_DELETE_ARCHIVE event has been dramatically improved, see "Callback event types."
* Description of the CLBK_CANCEL_OBJECT callback return code has been changed to make you more invormed on handling EVENT_DELETE_ARCHIVE event type in your callback handler function, see "Callback function return values."

Revision 12/27/2013

Changes:
* Added information about support of OpenBSD 5.3 x 64, see "System requirements".

Revision 03/04/2014

Changes:
* Added information about support pup.html notification webpage template returned by Web Monitor component when it detects an attempt to download a file classified as adware, pornware, or riskware, see "Web Monitor settings" and description for the pTemplateFolder member of KAV_WEB_MONITOR_SETTINGS2 and KAV_WEB_MONITOR_SETTINGS3 data structures as provided in sections "KAV_WEB_MONITOR_SETTINGS2" and "KAV_WEB_MONITOR_SETTINGS3".

Revision 04/03/2014

Changes:
* Refreshed the section describing driverless mode; the kaveScanForRootkitsInFolder function is deprecated and is no longer a constraint for the working without installed Kaspersky drivers, see "Enabling driveless mode".
* The prototype of callback handler function has been missing the dwMonitorID parameter identifying the monitor component associated with the file handle or memory range scanned at the time when the callback function is called, see "Callback function prototype".

Revision 04/18/2014

Changes:
* Section describing configuration of kave.ini file that allows you to specify settings to enable logging has been rewritten, see "Configuration file description."

Revision 09/16/2014

Changes:
* Driver infrastructure has been changed. Information about the new klhk, kltdf and klwtp drivers has been included explaining how you use these drivers, install them on your system or perform an upgrade of a previous version of KAV SDK, see "Drivers."
* Description of KAV_O_M_SKIPSIGNED scanning option flag that enables the AV engine to skip scanning  files that are digitally signed has been reviewed, see "Scanning modes".
* The kaveSetDatabasesPath function is now obsolete and returns E_NOTIMPL on attempts to invoke the function, see "kaveSetDatabasePath" for details.
* Description for EVENT_RELOAD_DATABASES_FINISHED event code has been updated to provide information what value is returned in the dwParam1 argument of callback handler when callback is called by KAV SDK with this event code, see "Callback event types."

Revision 09/19/2014

Changes:
* File Monitor skips trusted files and files created by setup processes to boost scanning performance by using Kaspersky Whitelisting technology, see "File whitelisting in File Monitor".

Revision 10/10/2014

Changes:
* Added cleanup recommendations for integrations on desktop platforms and integrations on gateway systems, see "Getting started in Windows".
* Upgrading procedure has been revamped to support you with upgrade steps especially when migrating to KAV SDK 8.5.x.x, see "Upgrading from previous versions".
* Added more details on working with new driver stack, see "Drivers".
* Driver-less mode is not currently supported on newer builds.
* Description of the standard scanning procedure one must follow when using KAV library has been updated to inform you about encoding settings that must be used during this procedure, see "General procedure for scanning" .
* When working with reputation checks made in the cloud service, you may experience delays getting the EVENT_OK event notification code, see "On-demand URL reputation checking".
* Added some more details on using iSwift and iChecker technologies in your solution, see "Scanning modes".
* When performing desktop integrations on Windows platform, you must enable support for scanning of alternate NTFS streams, see description of KAV_O_M_NTFS_ADS scanning mode in "Scanning modes" to know how.
* Advanced Disinfection technology may cause KAV SDK to call your callback handler with EVENT_DISINFECTED mode where dwParam1 is set to KDIS_ON_REBOOT, see "Implementation".
* KAV SDK does not currently use iChecker and iSwift technologies when performing Advanced Disinfection, see "Implementation".
* You must not remove template files for the custom replacement web pages returned to the user when Web Monitor redects malware on a requested page or is a downloaded file, when using or initializing KAV SDK, see "Web Monitor settings".
* Placeholders used in denial templates for replacement web pages have been changed, see "Web Monitor settings".
* Description for the KAV_E_DISINFECT_ON_REBOOT_FAILED return code has been added; the code returned by KAV library when working with Advanced Disinfection mechanism, see "Return values".
* More details have been added to the description of kaveReloadDatabases function, see "kaveReloadDatabases".
* Description of EVENT_TCP_CONNINFO event notification code has been updated to reflect recent changes in driver infrastructure, see "Event notification codes".
* The code EVENT_DELETE_ARCHIVE is not raised when scanning of archive files is turned off, see "Event notification codes".
* The new EVENT_CLEAN_ALREADY_DONE event notification code has been added, see description in "Event notification codes".
* Updated description for the KDT_SAFE_URL detection type, see "Detection types and severity".
* Descriptions of pTemplateFolder members of KAV_WEB_MONITOR_SETTINGS2 and KAV_WEB_MONITOR_SETTINGS3 data structures have been updated, see respective sections.


Revision 12/08/2014

Changes:
* File Monitor component always scans alternate NTFS data stream and initializes with KAV_O_M_NTFS_ADS scanning mode by default, see "About File Monitor".
* Some functions are not supported in a native build of KAV SDK for x64 Windows platform, see "Platform compatibility".
* When integration of KAV library is implemented in service mode, KAV_S_R_NONSCANNED scan result code is returned by scanning functions through the scanning client when the server side under the kavehost process terminates unexepectedly, see "Scan results".

Revision 12/19/2014

Changes:
* If you are implementing solution that integrates the KAV SDK on a Windows platform that is based on a code base of Windows 8.1 (such as Windows 8.1 OS or Windows Server 2012 R2), you must use a special manifest file as specifeid in "Getting started in Windows" section.
* Some functions and/or flags are either not supported or not available in native 64-bit builds of KAV SDK targeted at x64 Windows platform, see "Platform compatibility".
* The KAV_O_M_NTFS_ADS scanning option flag must not be specified explicitly when initializing File Monitor component; this option is enabled internally and is automatically used by File Monitor once the component is initialized, see "Scanning modes".
* When working with Proactive Defense component in Active Disinfection cleaning mode, you must return CLBK_REBOOT code when needing to restart the PC in a response to the EVENT_REBOOTNEEDED received in callback, see "Finishing" section of "Advanced Disinfection mode".
* You must be aware that only local client-to-service connections are supported on Windows platform whenever KAV SDK is used in service integration mode; TCP connections to kavehost service are not supported, see "Organizing service mode in Windows".
* Scanning of file streams, reconstructed objects and chunks is not supported, see "KAV SDK Architecture".
* When using logging functionality, you must stick to path specification for LogsFolder parameter of the kav.ini config file as stated in the "Configuration file" section.
* The runAsAdministrator.manifest file previously used for integrations on Windows Vista platform has been excluded from shipment. 

Revision 02/06/2015

Changes:
* New hashing functionality described that allows you to obtain MD5 hash sums for the scanned objects, see chapter "Obtaining MD5 hash sums".
* This build introduces the new EVENT_OBJECT_HASH notification code that indicates a successful creation of an MD5 footprint, see "Event notification codes" and "Expected callback function return values".
* You can create an MD5 hash sum of the scanned object by using the dedicated CLBK_GET_OBJECT_HASH return value, see "Callback function return values".
* The new KAV_OBJECT_HASH is introduced to store information about the computed hash sum, see "KAV_OBJECT_HASH" and the dependent "KAV_HASH_TYPE".

Revision 04/29/2015

Changes:
* When using SDK on a Unix-like platform, you must set UTF-8 locale for your language and country before starting to use KAV SDK, see "Preparing environment settings" in "Getting started in Linux and FreeBSD".

Revision 06/01/2015

Changes:
* Support for scanning HTTPS traffic has been added, see "Scanning SSL-encrypted traffic".
* Update procedure has been updated a tad to reflect the support for Windows 10 platform in KAV SDK v.8.6.x and later, see "Upgrading from previous versions".
* Cleanup option has been added to facilitate removal of helper cleaning drivers (such as KLBG driver) when removing or updating KAV SDK on Windows 10, see "Installing drivers" within "Drivers".
* A number of functions has been added to allow you implement HTTPS scanning, see "Functions to enable HTTPS scanning" in "API Reference".
* A new EVENT_SSL_BAD_CERTIFICATE event notification code is featured to notify you of a problem with a digital certificate detected by Web Monitor when scanning HTTPS traffic, see "Event notification codes".
* KAV_CERTIFICATE_INFO has been added to store certificate data obtained by Web Monitor from a remote host when scanning HTTPS traffic, see "KAV_CERTIFICATE_INFO" in "Structures and enumerations".

Revision 07/09/2015

Changes:
* Documentation for using KAV SDK in HTTP mode. See "Using KAV SDK in HTTP mode".


Revision 10/02/2015

Changes:
* Recommendation to help reduce false positive detections when implementing on-demand scanning or monitoring features, see "General recommendations to reduce false positive detections" and "Monitoring".
* When you implement integrations of KAV SDK on a gateway station, follow recommendations in "Scanning" section.

Revision 12/10/2015

Changes:
* Added information about Self Defense protective technology allowing you to protect your installer and its files, see section "Using Self Defense". Note: this is a separate library with its own API and it cannot be shared with KAV SDK library and hosted in the same process.
* Self Defense API functions described, see "Self Defense functions".
* Added support for implemeting custom partner scan to disinfect objects handled by monitoring components in KAV SDK, see section "Using partner scan function".
* API that can be used to implement partner scan can be found described in chapter "Function types for partner scan" that describes prototypes for partner functions.
* The partner scan API is extended with additional data structures, described in sections: KAV_SCAN_CONTEXT, KAV_SC_RESULT, KAV_SC_ORIGIN, KAV_SC_STATUS, KAV_SCAN_OBJECT under the "Structures and enumerations" chapter.

Revision 02/26/2016

Changes:
* Configuration settings are available that define connectivity through a proxy server for the kavehost service, see "Kavehost service configuration file".